package com.group2.bankonline.service;

import com.group2.bankonline.pojo.Transrecord;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author syf
 * @since 2024-07-11
 */
public interface ITransrecordService extends IService<Transrecord> {
    public List<Transrecord> getByAidOrOid(int id);
    public List<Transrecord> getByType(int id,int transtypeId);
    public List<Transrecord> getByMoney(int id,int money1,int money2);
    public List<Transrecord> getByDate(int id,String date);
    public List<Transrecord> getByAidAndOid(int aid,int oid);
    public void saveRecord(Transrecord transrecord);
}
